package com.algo.Al.pojo;

/**
 * @Author: guoxing
 * @Email: gx_study2022@163.com
 * @Description:
 * @Date: 2024/6/3 16:04
 * @ClassName: DsIndusbottle
 **/

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName DS_IndusBottle
 */
@Data
public class DsIndusbottle implements Serializable {
    /**
     *
     */
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String barcode;

    /**
     *
     */
    private String bottlecode;

    /**
     *
     */
    private String bottlealloy;

    /**
     *
     */
    private String bottlevolume;

    /**
     *
     */
    private String productiondate;

    /**
     *
     */
    private String lastcheckdate;

    /**
     *
     */
    private String nextcheckdate;

    /**
     *
     */
    private Integer bottlesupplierid;

    /**
     *
     */
    private String bottlesuppliername;

    /**
     *全部改为1
     */
    private String bottlestate;

    /**
     *
     */
    private String nominalpressure;

    /**
     *
     */
    private Integer bottleinwalltypeid;

    /**
     *
     */
    private String bottleinwalltypename;

    /**
     *
     */
    private String note;

    /**
     *
     */
    private String qrcode;

    /**
     *
     */
    private String rfcode;

    /**
     *
     */
    private String logisticscompanyname;

    /**
     *
     */
    private String logisticsnumber;

    /**
     *
     */
    private Integer logisticscompanyid;

    /**
     *
     */
    private String state;

    /**
     *
     */
    private String filldate;

    /**
     *
     */
    private String fillperson;

    /**
     *
     */
    private String madecode;

    /**
     *
     */
    private Integer originid;

    /**
     *
     */
    private String valveid;

    /**
     *
     */
    private String valvename;

    /**
     *
     */
    private String ischeck;

    /**
     *
     */
    private Integer customerid;

    /**
     *
     */
    private String customername;

    /**
     *
     */
    private Integer bottlemedium;

    /**
     *
     */
    private String disable;

    /**
     *
     */
    private String property;

    /**
     *
     */
    private String bottlemark;

    /**
     *
     */
    private String signcode;

    /**
     *
     */
    private String devicetype;

    /**
     *
     */
    private String unitcode;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DsIndusbottle other = (DsIndusbottle) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getBarcode() == null ? other.getBarcode() == null : this.getBarcode().equals(other.getBarcode()))
                && (this.getBottlecode() == null ? other.getBottlecode() == null : this.getBottlecode().equals(other.getBottlecode()))
                && (this.getBottlealloy() == null ? other.getBottlealloy() == null : this.getBottlealloy().equals(other.getBottlealloy()))
                && (this.getBottlevolume() == null ? other.getBottlevolume() == null : this.getBottlevolume().equals(other.getBottlevolume()))
                && (this.getProductiondate() == null ? other.getProductiondate() == null : this.getProductiondate().equals(other.getProductiondate()))
                && (this.getLastcheckdate() == null ? other.getLastcheckdate() == null : this.getLastcheckdate().equals(other.getLastcheckdate()))
                && (this.getNextcheckdate() == null ? other.getNextcheckdate() == null : this.getNextcheckdate().equals(other.getNextcheckdate()))
                && (this.getBottlesupplierid() == null ? other.getBottlesupplierid() == null : this.getBottlesupplierid().equals(other.getBottlesupplierid()))
                && (this.getBottlesuppliername() == null ? other.getBottlesuppliername() == null : this.getBottlesuppliername().equals(other.getBottlesuppliername()))
                && (this.getBottlestate() == null ? other.getBottlestate() == null : this.getBottlestate().equals(other.getBottlestate()))
                && (this.getNominalpressure() == null ? other.getNominalpressure() == null : this.getNominalpressure().equals(other.getNominalpressure()))
                && (this.getBottleinwalltypeid() == null ? other.getBottleinwalltypeid() == null : this.getBottleinwalltypeid().equals(other.getBottleinwalltypeid()))
                && (this.getBottleinwalltypename() == null ? other.getBottleinwalltypename() == null : this.getBottleinwalltypename().equals(other.getBottleinwalltypename()))
                && (this.getNote() == null ? other.getNote() == null : this.getNote().equals(other.getNote()))
                && (this.getQrcode() == null ? other.getQrcode() == null : this.getQrcode().equals(other.getQrcode()))
                && (this.getRfcode() == null ? other.getRfcode() == null : this.getRfcode().equals(other.getRfcode()))
                && (this.getLogisticscompanyname() == null ? other.getLogisticscompanyname() == null : this.getLogisticscompanyname().equals(other.getLogisticscompanyname()))
                && (this.getLogisticsnumber() == null ? other.getLogisticsnumber() == null : this.getLogisticsnumber().equals(other.getLogisticsnumber()))
                && (this.getLogisticscompanyid() == null ? other.getLogisticscompanyid() == null : this.getLogisticscompanyid().equals(other.getLogisticscompanyid()))
                && (this.getState() == null ? other.getState() == null : this.getState().equals(other.getState()))
                && (this.getFilldate() == null ? other.getFilldate() == null : this.getFilldate().equals(other.getFilldate()))
                && (this.getFillperson() == null ? other.getFillperson() == null : this.getFillperson().equals(other.getFillperson()))
                && (this.getMadecode() == null ? other.getMadecode() == null : this.getMadecode().equals(other.getMadecode()))
                && (this.getOriginid() == null ? other.getOriginid() == null : this.getOriginid().equals(other.getOriginid()))
                && (this.getValveid() == null ? other.getValveid() == null : this.getValveid().equals(other.getValveid()))
                && (this.getValvename() == null ? other.getValvename() == null : this.getValvename().equals(other.getValvename()))
                && (this.getIscheck() == null ? other.getIscheck() == null : this.getIscheck().equals(other.getIscheck()))
                && (this.getCustomerid() == null ? other.getCustomerid() == null : this.getCustomerid().equals(other.getCustomerid()))
                && (this.getCustomername() == null ? other.getCustomername() == null : this.getCustomername().equals(other.getCustomername()))
                && (this.getBottlemedium() == null ? other.getBottlemedium() == null : this.getBottlemedium().equals(other.getBottlemedium()))
                && (this.getDisable() == null ? other.getDisable() == null : this.getDisable().equals(other.getDisable()))
                && (this.getProperty() == null ? other.getProperty() == null : this.getProperty().equals(other.getProperty()))
                && (this.getBottlemark() == null ? other.getBottlemark() == null : this.getBottlemark().equals(other.getBottlemark()))
                && (this.getSigncode() == null ? other.getSigncode() == null : this.getSigncode().equals(other.getSigncode()))
                && (this.getDevicetype() == null ? other.getDevicetype() == null : this.getDevicetype().equals(other.getDevicetype()))
                && (this.getUnitcode() == null ? other.getUnitcode() == null : this.getUnitcode().equals(other.getUnitcode()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getBarcode() == null) ? 0 : getBarcode().hashCode());
        result = prime * result + ((getBottlecode() == null) ? 0 : getBottlecode().hashCode());
        result = prime * result + ((getBottlealloy() == null) ? 0 : getBottlealloy().hashCode());
        result = prime * result + ((getBottlevolume() == null) ? 0 : getBottlevolume().hashCode());
        result = prime * result + ((getProductiondate() == null) ? 0 : getProductiondate().hashCode());
        result = prime * result + ((getLastcheckdate() == null) ? 0 : getLastcheckdate().hashCode());
        result = prime * result + ((getNextcheckdate() == null) ? 0 : getNextcheckdate().hashCode());
        result = prime * result + ((getBottlesupplierid() == null) ? 0 : getBottlesupplierid().hashCode());
        result = prime * result + ((getBottlesuppliername() == null) ? 0 : getBottlesuppliername().hashCode());
        result = prime * result + ((getBottlestate() == null) ? 0 : getBottlestate().hashCode());
        result = prime * result + ((getNominalpressure() == null) ? 0 : getNominalpressure().hashCode());
        result = prime * result + ((getBottleinwalltypeid() == null) ? 0 : getBottleinwalltypeid().hashCode());
        result = prime * result + ((getBottleinwalltypename() == null) ? 0 : getBottleinwalltypename().hashCode());
        result = prime * result + ((getNote() == null) ? 0 : getNote().hashCode());
        result = prime * result + ((getQrcode() == null) ? 0 : getQrcode().hashCode());
        result = prime * result + ((getRfcode() == null) ? 0 : getRfcode().hashCode());
        result = prime * result + ((getLogisticscompanyname() == null) ? 0 : getLogisticscompanyname().hashCode());
        result = prime * result + ((getLogisticsnumber() == null) ? 0 : getLogisticsnumber().hashCode());
        result = prime * result + ((getLogisticscompanyid() == null) ? 0 : getLogisticscompanyid().hashCode());
        result = prime * result + ((getState() == null) ? 0 : getState().hashCode());
        result = prime * result + ((getFilldate() == null) ? 0 : getFilldate().hashCode());
        result = prime * result + ((getFillperson() == null) ? 0 : getFillperson().hashCode());
        result = prime * result + ((getMadecode() == null) ? 0 : getMadecode().hashCode());
        result = prime * result + ((getOriginid() == null) ? 0 : getOriginid().hashCode());
        result = prime * result + ((getValveid() == null) ? 0 : getValveid().hashCode());
        result = prime * result + ((getValvename() == null) ? 0 : getValvename().hashCode());
        result = prime * result + ((getIscheck() == null) ? 0 : getIscheck().hashCode());
        result = prime * result + ((getCustomerid() == null) ? 0 : getCustomerid().hashCode());
        result = prime * result + ((getCustomername() == null) ? 0 : getCustomername().hashCode());
        result = prime * result + ((getBottlemedium() == null) ? 0 : getBottlemedium().hashCode());
        result = prime * result + ((getDisable() == null) ? 0 : getDisable().hashCode());
        result = prime * result + ((getProperty() == null) ? 0 : getProperty().hashCode());
        result = prime * result + ((getBottlemark() == null) ? 0 : getBottlemark().hashCode());
        result = prime * result + ((getSigncode() == null) ? 0 : getSigncode().hashCode());
        result = prime * result + ((getDevicetype() == null) ? 0 : getDevicetype().hashCode());
        result = prime * result + ((getUnitcode() == null) ? 0 : getUnitcode().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", barcode=").append(barcode);
        sb.append(", bottlecode=").append(bottlecode);
        sb.append(", bottlealloy=").append(bottlealloy);
        sb.append(", bottlevolume=").append(bottlevolume);
        sb.append(", productiondate=").append(productiondate);
        sb.append(", lastcheckdate=").append(lastcheckdate);
        sb.append(", nextcheckdate=").append(nextcheckdate);
        sb.append(", bottlesupplierid=").append(bottlesupplierid);
        sb.append(", bottlesuppliername=").append(bottlesuppliername);
        sb.append(", bottlestate=").append(bottlestate);
        sb.append(", nominalpressure=").append(nominalpressure);
        sb.append(", bottleinwalltypeid=").append(bottleinwalltypeid);
        sb.append(", bottleinwalltypename=").append(bottleinwalltypename);
        sb.append(", note=").append(note);
        sb.append(", qrcode=").append(qrcode);
        sb.append(", rfcode=").append(rfcode);
        sb.append(", logisticscompanyname=").append(logisticscompanyname);
        sb.append(", logisticsnumber=").append(logisticsnumber);
        sb.append(", logisticscompanyid=").append(logisticscompanyid);
        sb.append(", state=").append(state);
        sb.append(", filldate=").append(filldate);
        sb.append(", fillperson=").append(fillperson);
        sb.append(", madecode=").append(madecode);
        sb.append(", originid=").append(originid);
        sb.append(", valveid=").append(valveid);
        sb.append(", valvename=").append(valvename);
        sb.append(", ischeck=").append(ischeck);
        sb.append(", customerid=").append(customerid);
        sb.append(", customername=").append(customername);
        sb.append(", bottlemedium=").append(bottlemedium);
        sb.append(", disable=").append(disable);
        sb.append(", property=").append(property);
        sb.append(", bottlemark=").append(bottlemark);
        sb.append(", signcode=").append(signcode);
        sb.append(", devicetype=").append(devicetype);
        sb.append(", unitcode=").append(unitcode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
